%% @author Administrator
%% @doc @todo Add description to fun_error_report.


-module(fun_error_report).
-include("common.hrl").

-export([send_error_report/2]).



send_error_report(Sid,ID)->
	case data_error:get_data(ID) of
		#st_error_config{error=Error}->
ok;
%% 			pt:send(Sid, ?PT_ERROR_REPORT, Error); 
		_->skip
	end.

